<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title><%= htmlWebpackPlugin.options.title %></title>

    <% if(htmlWebpackPlugin.options.isProd){ %>
    <!-- NProgress的样式表文件 -->
    <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.css" />
    <!-- <link rel="stylesheet" href="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.css" /> -->
    <!-- Element-ui导入样式 -->
    <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/element-plus/dist/index.css" />
    <!-- 通过cdn加载依赖的js文件 -->
    <!-- 导入 Vue 3 -->
    <script src="//cdn.jsdelivr.net/npm/vue@3.0.0"></script>
    <!-- <script src="https://cdn.staticfile.org/vue/3.0.0/vue.min.js"></script> -->
    <script src="//cdn.jsdelivr.net/npm/vue-router@4.0.12"></script>
    <!-- <script src="https://cdn.staticfile.org/vue-router/4.0.0-0/vue-router.min.js"></script> -->
    <script src="//cdn.jsdelivr.net/npm/axios@0.21.1"></script>
    <!-- <script src="https://cdn.staticfile.org/axios/0.21.1/axios.min.js"></script> -->
    <script src="//cdn.jsdelivr.net/npm/lodash@4.17.21"></script>
    <!-- <script src="https://cdn.staticfile.org/lodash/4.17.21/lodash.min.js"></script> -->
    <!-- <script src="https://cdn.jsdelivr.net/npm/echarts@5.2.2/dist/echarts.min.js"></script> -->
    <!-- <script src="https://cdn.staticfile.org/echarts/5.2.2/echarts.min.js"></script> -->
    <script src="//cdn.jsdelivr.net/npm/nprogress@0.2.0"></script>
    <!-- <script src="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.js"></script> -->

    <!-- 导入组件库 -->
    <script src="//cdn.jsdelivr.net/npm/element-plus"></script>
    <% }%>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without
        JavaScript enabled. Please enable it to continue.</strong
      >
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
